package com.martin.study.create_instance.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class AutowireBeanB {

	private Emp emp;

	public void say(){
		System.out.println(emp);
	}

	@Autowired
	public void setXxx(Emp aa) {
		this.emp = emp;

	}

}
